package sfbot;

public class IrcUser implements User {
	private String nick;
	public IrcUser(String nick){
		this.nick = nick;
	}
	@Override
	public String getNick() {
		return nick;
	}
	@Override
	public boolean equals(User u) {
		return nick.equalsIgnoreCase(u.getNick());
	}
	@Override
	public boolean equals(String s) {
		return s.equalsIgnoreCase(nick);
	}
	

}
